﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" Title="修改测试数据详细项" CodeFile="ModifyTestItem.aspx.cs" Inherits="ModifyTest_ModifyTestItem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div style="overflow: auto">
        &nbsp;
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">首　页</asp:HyperLink>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/ViewTest/ViewYourself/ViewTestItem.aspx">返回测试数据详细页</asp:HyperLink><br />
        &nbsp;&nbsp;
        <br />
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" BackColor="White" OnRowEditing="GridView2_RowEditing" OnRowUpdating="GridView2_RowUpdating" OnRowCancelingEdit="GridView2_RowCanncelingEdit"
            BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
            GridLines="None" DataKeyNames="TestID">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <Columns>
                <asp:BoundField DataField="ProductSN" HeaderText="产品序列号" ReadOnly="True" />
                <asp:BoundField DataField="TestTime" HeaderText="测试时间" ReadOnly="True" />
                <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                <asp:BoundField DataField="UserID" HeaderText="测试员" />
                <asp:BoundField DataField="ENAID" HeaderText="矢网编号" />
                <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
                <asp:BoundField DataField="IsSwitch" HeaderText="是否用开关" />
                <asp:CommandField HeaderText="修改" ShowEditButton="True" />
            </Columns>
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        &nbsp;
        <asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox>
        <asp:TextBox ID="TextBox3" runat="server" Visible="False"></asp:TextBox>
        <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox><br />
        <asp:Label ID="Label1" runat="server" ForeColor="Blue" Text="需要修改产品系列号或测试时间请："></asp:Label>&nbsp;
        <asp:Button ID="Button1" runat="server" Font-Underline="True" ForeColor="Blue" OnClick="Button1_Click"
            Text="点击这里" /><br />
        <br />
        <div style="width:1100px;overflow: auto; ">
        <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="White"
            BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
                GridLines="None" OnRowEditing="GridView1_RowEditing" 
                OnRowUpdating="GridView1_RowUpdating" 
                OnRowCancelingEdit="GridView1_RowCanncelingEdit" 
                OnPageIndexChanging="GridView1_PageIndexChanging" AllowPaging="True" 
                AutoGenerateColumns="False" DataKeyNames="TestItemID">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            <Columns>
                <asp:BoundField DataField="TestItemName" HeaderText="测试项目" />
                <asp:BoundField DataField="ProductSN" HeaderText="产品序列号" ReadOnly="True" />
                <asp:BoundField DataField="TestTime" HeaderText="测试时间" ReadOnly="True" />
                <asp:BoundField DataField="TestTypeID" HeaderText="测试类型" />
                <asp:BoundField DataField="StartF" DataFormatString="{0:E3}" HtmlEncode="False" HeaderText="起始频率" />
                <asp:BoundField DataField="StopF" DataFormatString="{0:E3}" HtmlEncode="False" HeaderText="终止频率" />
                <asp:BoundField DataField="Max" DataFormatString="{0:F2}" HtmlEncode="False" HeaderText="最大值" />
                <asp:BoundField DataField="Min" DataFormatString="{0:F2}" HtmlEncode="False" HeaderText="最小值" />
                <asp:BoundField DataField="HighSpec" DataFormatString="{0:F2}" HtmlEncode="False" HeaderText="上限值" />
                <asp:BoundField DataField="LowSpec" DataFormatString="{0:F2}" HtmlEncode="False" HeaderText="下限值" />
                <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
                <asp:CommandField HeaderText="修改" ShowEditButton="True" />
            </Columns>
        </asp:GridView>
        </div>
        <br />
        <br />
        <br />
    
    </div>
    </ContentTemplate>
    </asp:UpdatePanel> 
</asp:Content>
